/*
 * table_TranslationUnit.h
 *
 *  Created on: 2012/03/30
 *      Author: guanxiaoying
 */

#ifndef TABLE_TRANSLATIONUNIT_H_
#define TABLE_TRANSLATIONUNIT_H_


typedef struct {
	BOOL (*clear)( VOID );
	BOOL (*reset)( VOID );
	BOOL (*alloc)( AST );
	AST  (*getMax)( VOID );
	ACCESS_IDX_FIELD fileindex;
	ACCESS_IDX_FIELD declarationchain;
	ACCESS_IDX_FIELD preVariMax;
	ACCESS_IDX_FIELD preFuncMax;
	ACCESS_IDX_FIELD preLinkageMax;
}TRANSLATIONUNIT_ACCESS;
extern const TRANSLATIONUNIT_ACCESS stCoreTranslationUnitAccess;

#endif /* TABLE_TRANSLATIONUNIT_H_ */
